package ysm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import ysm.entity.Graduateman;

@Component
@Mapper
public interface GraduatemanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Graduateman record);

    int insertSelective(Graduateman record);

    Graduateman selectByPrimaryKey(Integer id);
    
    List<Graduateman> loadAllGraduateMan();
    
    List<Graduateman> loadGraduateManByCollage(Integer collage);

    int updateByPrimaryKeySelective(Graduateman record);

    int updateByPrimaryKey(Graduateman record);
}